<?php

use Phinx\Migration\AbstractMigration;

class SyschannelFix extends AbstractMigration
{
    public function up()
    {
		$table = $this->table ('sys_channel');
		$table->renameColumn ('created_at', 'create_at');
		
		$table = $this->table ('sys_version_channel');
		$table->renameColumn ('channelid', 'channel_id');
		$table->renameColumn ('create_adminid', 'create_admin_id');
    }
    
    public function down()
    {
    }
}